package com.service;

import com.model.SysUser;
import com.page.GenericPage;
import com.po.SysUserModifyPO;
import com.po.SysUserPO;
import com.po.SysUserQueryPO;
import com.result.Result;
import com.vo.SysUserQueryVO;

/**
 * @Author: chihaojie
 * @Date: 2019/5/29 16:28
 * @Version 1.0
 * @Note
 */
public interface SysUserService {

    Result<SysUser> save(SysUserPO sysUserPO);


    Result<Boolean> removeById(Long id);


    Result<Boolean> modifyById(SysUserModifyPO sysUserModifyPO);


    Result<GenericPage<SysUserQueryVO>> queryAll(SysUserQueryPO sysUserQueryPO);

    Result<SysUserQueryVO> queryById(Long id);


}
